package com.dao;


import com.model.Food;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FoodMapper {
    /**
     * 功能：根据商家编号查询所属食品信息
     * @param businessId 分类的编号
     * @return List集合
     * @throws Exception
     */
    public List<Food> listFoodByBusinessId(Integer businessId) throws Exception;
}
